package com.anxin.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

@Data
@ContentRowHeight(20)
@HeadRowHeight(25)
public class DepartmentExcel {
    
    @ExcelProperty(value = "科室ID", index = 0)
    @ColumnWidth(36)
    private String id;
    
    @ExcelProperty(value = "科室名称", index = 1)
    @ColumnWidth(20)
    private String departmentName;
    
    @ExcelProperty(value = "科室编码", index = 2)
    @ColumnWidth(15)
    private String departmentCode;
    
    @ExcelProperty(value = "父科室ID", index = 3)
    @ColumnWidth(36)
    private String parentId;
    
    @ExcelProperty(value = "科室负责人", index = 4)
    @ColumnWidth(15)
    private String leader;
    
    @ExcelProperty(value = "联系电话", index = 5)
    @ColumnWidth(15)
    private String phone;
    
    @ExcelProperty(value = "科室地址", index = 6)
    @ColumnWidth(30)
    private String address;
    
    @ExcelProperty(value = "状态", index = 7)
    @ColumnWidth(10)
    private String status;
    
    @ExcelProperty(value = "备注", index = 8)
    @ColumnWidth(30)
    private String remark;
} 